package com.bl.student.service.biz.chat;

import com.bl.student.dao.redis.model.TeacherInfo;
import com.bl.student.dao.redis.model.UserInfo;
import com.bl.student.service.vo.ListVo;
import com.bl.student.service.vo.chat.ChangeTeacherVo;
import com.bl.student.service.vo.chat.ChatTeacherVo;
import org.springframework.data.domain.Pageable;

/**
 * Created by yujingyi on 2018/3/10.
 */
public interface ChatService {
    ListVo<ChatTeacherVo> getTeacherList(UserInfo userInfo, Pageable pageable);

    void enroll(UserInfo userInfo, String teacherAccount);

    void change(UserInfo userInfo, ChangeTeacherVo changeTeacherVo);

    void spit(TeacherInfo teacherInfo, String studentMobile);
}
